package com.lix.dto.admin.log;

import com.lix.base.BaseRequest;
import com.lix.valid.annotation.ParamRangeValid;
import lombok.Data;

import java.time.LocalDateTime;

import java.util.List;

@Data
public class GetLogListReqDTO extends BaseRequest {
    /**
     * 操作结果 1、成功 2、失败
     */
    @ParamRangeValid(ranges = {"1", "2"}, message = "operaResult只能传递{1,2}")
    private Integer operaResult;

    private String keyword;

    /**
     * 操作时间
     */
    private List<LocalDateTime> timeRange;

}
